Mounts a shared volume from a server you specify, without any user interaction.
Usage:
err := MP ASMount (volume name; zone name; server name; username; password; volume password)
where:
err
is a long integer returning the error which occured. A value of zero indicates no error occured.
volume name
is a string (length 255) which contains the volume name you want to mount. Actually this may be a full path to a file or folder. As long as it starts with a volume name it will be succesfully mounted. It does not check if the path exists, so if the file or folder does not exist no error will be returned.
zone name
is a string (length 32) which contains the name of the zone in which the server is located to which you want to connect. If the server is in the same zone use an asteriks (*) as the zonename.
server name
is a string (length 32) which contains the name of the server to which you want to connect.
username
is a string (length 32) which contains the username you want to use to connect to the server.
password
is a string (length 8) which contains the password of the user of which you passed the username in the previous parameter.
volume password
is a string (length 8) which contains the volume password of the user of which you passed the username in the previous parameter. Leave this parameter empty if no volume password is required to mount the volume.